package spec.shiqilin.clazz.inherit;

public class Test {
    public static void main(String[] args) {
        //Student mm=new Student("22","豆豆","伦敦大学");
        //LittleStudent my=new LittleStudent("23","乐乐","剑桥大学","英语");
        // System.out.println(mm.xh);
        //System.out.println(mm.xm);
        //System.out.println(mm.xx);
        // collegeStudent zxm=new collegeStudent("小明","24");

        LittleStudent zxm=new LittleStudent("1","小明","哥伦比亚大学","汉语训班");
        zxm.xx="哥伦比亚大学";
        System.out.println("外国语："+zxm.xx);
    }
}